" colemak
noremap h i
noremap H I
noremap j e
noremap J E
noremap k n
noremap K N
noremap l u
noremap L <C-r>
noremap ge gj
noremap gu gk
noremap n h
noremap N ^
noremap I $
noremap i l
noremap e j
nnoremap E 10j
vnoremap E 3j
noremap u k
nnoremap U 10k
vnoremap U 3k
noremap <A-e> <nop>
noremap <A-I> <C-w><Right>
noremap <A-N> <C-w><Left>
noremap <A-E> <C-w><Down>
noremap <A-U> <C-w><Up>
nnoremap <A-n> :-tabnext<CR>
nnoremap <A-i> :+tabnext<CR>
inoremap <A-i> <Right>
inoremap <A-n> <Left>
noremap <A-u> <nop>

" register yank and paste {{{
noremap <LEADER>pn "np
noremap <LEADER>pe "ep
noremap <LEADER>pi "ip
vnoremap <LEADER>yn "ny
vnoremap <LEADER>ye "ey
vnoremap <LEADER>yi "iy
vnoremap  <Esc>
" }}}

noremap! tna 1
noremap! tnr 2
noremap! tns 3
noremap! tnt 4
noremap! tnd 5
noremap! tnh 6
noremap! tnn 7
noremap! tne 8
noremap! tni 9
noremap! tno 0

noremap! tnA !
noremap! tnR @
noremap! tnS #
noremap! tnT $
noremap! tnD %
noremap! tnH ^
noremap! tnN &
noremap! tnE *
noremap! tnI (
noremap! tnO )

noremap! aoa !
noremap! aor @
noremap! aos #
noremap! aot $
noremap! aod %
noremap! aoh ^
noremap! aon &
noremap! aoe *
noremap! aoi (
noremap! aoo )
noremap! aoq ~

noremap! tnl ()<left>
noremap! tnu []<left>
noremap! tny <end><space>{}<left>
noremap! tnY {}<left>

noremap! aol ()<left>
noremap! aou []<left>
noremap! aoy <end><space>{}<left>
noremap! aoY {}<left>
